package com.chushouya.order.dto.admin.miniorder;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel("支付宝小程序订单变更")
@Data
public class AlipayOpenMiniOrderChangedDTO {
    //        {\"voucher_detail_list\":[],\"user_id\":\"2088022788693535\",\"total_amount\":\"24.00\",\"out_order_id\":\"S202503211701415063\",\"operate_app_id\":\"2021005124625010\",\"auth_app_id\":\"2021005124625010\",\"order_id\":\"2025032101502300000005350034022128\",\"status\":\"PART_DELIVERED\"}

    @ApiModelProperty("voucher_detail_list")
    @JSONField(name = "voucher_detail_list")
    private String voucherDetailList;

    @ApiModelProperty("支付宝用户id")
    @JSONField(name = "user_id")
    private String userId;

    @ApiModelProperty("总金额")
    @JSONField(name = "total_amount")
    private BigDecimal totalAmount;

    @ApiModelProperty("外部订单号")
    @JSONField(name = "out_order_id")
    private String outOrderId;

    @ApiModelProperty("操作应用id")
    @JSONField(name = "operate_app_id")
    private String operateAppId;

    @ApiModelProperty("授权应用id")
    @JSONField(name = "auth_app_id")
    private String authAppId;

    @ApiModelProperty("订单id")
    @JSONField(name = "order_id")
    private String orderId;

    @ApiModelProperty("状态")
    @JSONField(name = "status")
    private String status;
}
